package cn.jeeweb.modules.web.labor.entity;

import cn.jeeweb.core.common.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import cn.jeeweb.modules.sys.entity.User;
import java.util.Date;

/**   
 * @Title: hu_post
 * @Description: hu_post
 * @author rql
 * @date 2018-03-02 16:00:49
 * @version V1.0   
 *
 */
@TableName("hu_post")
@SuppressWarnings("serial")
public class HuPost extends AbstractEntity<String> {

    /**主键*/
    @TableId(value = "id", type = IdType.UUID)
	private String id;
    /**备注*/
    @TableField(value = "remarks")
	private String remarks;
    /**创建者*/
    @TableField(value = "create_by",el="createBy.id",fill = FieldFill.INSERT)
	private User createBy;
    /**更新者*/
    @TableField(value = "update_by",el="updateBy.id",fill = FieldFill.UPDATE)
	private User updateBy;
    /**修改时间*/
    @TableField(value = "update_date",fill = FieldFill.UPDATE)
	private Date updateDate;
    /**创建时间*/
    @TableField(value = "create_date",fill = FieldFill.INSERT)
	private Date createDate;
    /**删除标记*/
    @TableField(value = "del_flag")
	private String delFlag;
    /**岗位名称*/
    @TableField(value = "post_name")
	private String postName;
    /**审核状态*/
    @TableField(value = "to_state")
	private Integer toState;
    /**单位*/
    @TableField(value = "company")
	private String company;
    /**岗位简介*/
    @TableField(value = "post_des")
	private String postDes;
    /**发布范围*/
    @TableField(value = "release_rang")
	private String releaseRang;
	
	/**
	 * 获取  id
	 *@return: String  主键
	 */
	public String getId(){
		return this.id;
	}

	/**
	 * 设置  id
	 *@param: id  主键
	 */
	public void setId(String id){
		this.id = id;
	}
	/**
	 * 获取  remarks
	 *@return: String  备注
	 */
	public String getRemarks(){
		return this.remarks;
	}

	/**
	 * 设置  remarks
	 *@param: remarks  备注
	 */
	public void setRemarks(String remarks){
		this.remarks = remarks;
	}
	/**
	 * 获取  createBy
	 *@return: User  创建者
	 */
	public User getCreateBy(){
		return this.createBy;
	}

	/**
	 * 设置  createBy
	 *@param: createBy  创建者
	 */
	public void setCreateBy(User createBy){
		this.createBy = createBy;
	}
	/**
	 * 获取  updateBy
	 *@return: User  更新者
	 */
	public User getUpdateBy(){
		return this.updateBy;
	}

	/**
	 * 设置  updateBy
	 *@param: updateBy  更新者
	 */
	public void setUpdateBy(User updateBy){
		this.updateBy = updateBy;
	}
	/**
	 * 获取  updateDate
	 *@return: Date  修改时间
	 */
	public Date getUpdateDate(){
		return this.updateDate;
	}

	/**
	 * 设置  updateDate
	 *@param: updateDate  修改时间
	 */
	public void setUpdateDate(Date updateDate){
		this.updateDate = updateDate;
	}
	/**
	 * 获取  createDate
	 *@return: Date  创建时间
	 */
	public Date getCreateDate(){
		return this.createDate;
	}

	/**
	 * 设置  createDate
	 *@param: createDate  创建时间
	 */
	public void setCreateDate(Date createDate){
		this.createDate = createDate;
	}
	/**
	 * 获取  delFlag
	 *@return: String  删除标记
	 */
	public String getDelFlag(){
		return this.delFlag;
	}

	/**
	 * 设置  delFlag
	 *@param: delFlag  删除标记
	 */
	public void setDelFlag(String delFlag){
		this.delFlag = delFlag;
	}
	/**
	 * 获取  postName
	 *@return: String  岗位名称
	 */
	public String getPostName(){
		return this.postName;
	}

	/**
	 * 设置  postName
	 *@param: postName  岗位名称
	 */
	public void setPostName(String postName){
		this.postName = postName;
	}
	/**
	 * 获取  toState
	 *@return: Integer  审核状态
	 */
	public Integer getToState(){
		return this.toState;
	}

	/**
	 * 设置  toState
	 *@param: toState  审核状态
	 */
	public void setToState(Integer toState){
		this.toState = toState;
	}
	/**
	 * 获取  company
	 *@return: String  单位
	 */
	public String getCompany(){
		return this.company;
	}

	/**
	 * 设置  company
	 *@param: company  单位
	 */
	public void setCompany(String company){
		this.company = company;
	}
	/**
	 * 获取  postDes
	 *@return: String  岗位简介
	 */
	public String getPostDes(){
		return this.postDes;
	}

	/**
	 * 设置  postDes
	 *@param: postDes  岗位简介
	 */
	public void setPostDes(String postDes){
		this.postDes = postDes;
	}
	/**
	 * 获取  releaseRang
	 *@return: String  发布范围
	 */
	public String getReleaseRang(){
		return this.releaseRang;
	}

	/**
	 * 设置  releaseRang
	 *@param: releaseRang  发布范围
	 */
	public void setReleaseRang(String releaseRang){
		this.releaseRang = releaseRang;
	}
	
}
